import Vue from 'vue'
import App from './App'
import store from './store'
import utils from './utils';
import http from './api/index';
// import LoginDialog from './components/dialog/loginConfirm';
// Vue.use(LoginDialog);
 // #ifdef H5
import Vant from "vant";
Vue.use(Vant);
// import VConsole from 'vconsole';

// const vConsole = new VConsole();


// 结束调试后，可移除掉
// vConsole.destroy();
 // #endif

Vue.prototype.$store = store;

Vue.prototype.$http = http;

Object.keys(utils).forEach((key) =>{
	Vue.prototype['$'+ key] = utils[key]
})
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()


